package com.cskaoyan.mapper;

import com.cskaoyan.bean.wxcart.WxCart;
import com.cskaoyan.bean.wxcart.WxCartExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WxCartMapper {
    long countByExample(WxCartExample example);

    int deleteByExample(WxCartExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxCart record);

    int insertSelective(WxCart record);

    List<WxCart> selectByExample(WxCartExample example);

    WxCart selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxCart record, @Param("example") WxCartExample example);

    int updateByExample(@Param("record") WxCart record, @Param("example") WxCartExample example);

    int updateByPrimaryKeySelective(WxCart record);

    int updateByPrimaryKey(WxCart record);
}